<!-- apps/FRONTEND/templates/layout.php -->

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    <head>
        <title>
            <?php if (!include_slot('title')): ?>Save Energy<?php endif; ?>
            </title>
            <link rel="shortcut icon" href="/favicon.ico" />
        <?php include_javascripts() ?>
        <?php include_stylesheets() ?>
            </head>
            <body>
                <div id="container">
                <div id="header">
                    <div class="inner">
                        <div id="logo">
                            <h1>
                                <a href="<?php echo url_for('contrato/index') ?>">
                                    <img src="/images/logo.jpg" alt="Jobeet Job Board" />
                                </a>
                            </h1>
                        </div>
                        <div id="main_navigation" class="jqueryslidemenu">
                            <ul>
                                <li><?php echo link_to('Contratos', 'contrato') ?></li>
                                <li><?php echo link_to('Añadir Contrato', 'anadirContrato') ?></li>
                                <li><?php echo link_to('Comisiones', 'comision') ?></li>
                                <li><?php echo link_to('Clientes', 'cliente') ?></li>
                                <li><?php echo link_to('Comerciales', 'comercial') ?></li>
                                <li><?php echo link_to('Compañias', 'compania') ?></li>

                            </ul>
                        </div>
                        </div>
                        <!--                    <div class="fancy_box">
                <?php //echo link_to('Subir contrato', 'anadirContrato') ?>
                            </div>-->
                <!--<div id="sub_header">
                   <div class="post">
                        <h2>Ask for people</h2>
                        <div>
                            <a href="<?php //echo url_for('contrato/index')   ?>">Post a Job</a>
                        </div>
                    </div>

                    <div class="search">
                        <h2>Ask for a job</h2>
                        <form action="" method="get">
                            <input type="text" name="keywords"
                                   id="search_keywords" />
                            <input type="submit" value="search" />
                            <div class="help">
                                Enter some keywords (city, country, position, ...)
                            </div>
                        </form>
                    </div>
                </div>-->
            </div>
        </div>
        <div id="breadcrumbs">
            <div class="inner">
            </div><!-- inner -->
        </div>

        <div id="content">
            <div id="enlaceBackend">
                <a href="http://localhost:8080/backend_dev.php/contrato" src="backend"> ir al BackEnd</a>
            </div>
            <?php if ($sf_user->hasFlash('notice')): ?>
                    <div class="flash_notice">
                <?php echo $sf_user->getFlash('notice') ?>
                </div>
            <?php endif; ?>

            <?php if ($sf_user->hasFlash('error')): ?>
                        <div class="flash_error">
                <?php echo $sf_user->getFlash('error') ?>
                    </div>
            <?php endif; ?>

                        <div class="content">
                <?php echo $sf_content ?>
            </div>
        </div>

        <div id="footer">
            <div class="background">
                <div class="inner">
                    <!--                <div class="content">
                                        <span class="symfony">
                                            <img src="/images/jobeet-mini.png" />
                                            powered by <a href="http://www.symfony-project.org/">
                                                <img src="/images/symfony.gif" alt="symfony framework" />
                                            </a>
                                        </span>
                                        <ul>
                                            <li><a href="">About Jobeet</a></li>
                                            <li class="feed"><a href="">Full feed</a></li>
                                            <li><a href="">Jobeet API</a></li>
                                            <li class="last"><a href="">Affiliates</a></li>
                                        </ul>
                                    </div>-->
                </div>
            </div>
        </div>
    </body>
</html>
